{extend name="public:_base" /}

{block name="css"}
<link rel="stylesheet" type="text/css" href="__STATIC__/admin/css/index.css"/>

<style type="text/css">
    .panel-body {
        padding: 15px 0;
    }

    .info-box {
        display: block;
        min-height: 90px;
        width: 100%;
        border-radius: 2px;
        margin-bottom: 15px;
        /*box-shadow: 0 1px 1px rgba(0,0,0,0.1);*/
        /*background: #fff;*/
        /*border: 1px solid #ccc;*/
    }
    .info-box-icon {
        border-top-left-radius: 2px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 2px;
        display: block;
        float: left;
        height: 90px;
        width: 90px;
        text-align: center;
        font-size: 45px;
        line-height: 90px;
        background: rgba(0,0,0,0.2);

    }
    .fore a:hover{
        text-decoration: none;
    }
    .info-box-content {
        padding: 5px 10px;
        margin-left: 90px;
    }
    .info-box-number {
        display: block;
        font-weight: bold;
        font-size: 18px;
    }

    .user_cont .row {
        margin-left: 0;
        margin-right: 0;
    }

    .user_cont .panel-body .col-md-4 {
        padding-right: 2%;
    }
</style>
{/block}

{block name="main"}

<!--欢迎来到用户中心-->

<div class="page-container">

    <div class=" panel-warning" style="margin-top: 20px;">

        {notempty name="$Request.param.toid"}
        <div class="panel-header">{:lang('领导信箱')}</div>
        <div class="panel-body">
            <div class="row fore">
                <div class="col-md-4 col-sm-6 col-xs-12">
                    <a data-title="领导信箱" href="{:url(\''.\\think\\Request::instance()->controller().'/index',['type'=>1,'toid'=>$Request.param.toid])}" >
                        <div class="info-box btn-primary">
                            <span class="info-box-icon"><i class="Hui-iconfont"></i></span>
                            <div class="info-box-content">
                                <span class="info-box-text">领导信箱</span>
                                <span class="info-box-number">{$one['one']}</span>
                            </div>
                            <!-- /.info-box-content -->
                        </div>
                    </a>
                    <!-- /.info-box -->
                </div>
                <!-- /.col -->
                <div class="col-md-4 col-sm-6 col-xs-12">
                    <a data-title="心理咨询" href="{:url(\''.\\think\\Request::instance()->controller().'/index',['type'=>2,'toid'=>$Request.param.toid])}" >
                        <div class="info-box btn-success">
                            <span class="info-box-icon"><i class="Hui-iconfont"></i></span>
                            <div class="info-box-content">
                                <span class="info-box-text">心理咨询</span>
                                <span class="info-box-number">{$one['two']}</span>
                            </div>
                            <!-- /.info-box-content -->
                        </div>
                        <!-- /.info-box -->
                    </a>
                </div>
                <!-- /.col -->

                <!-- fix for small devices only -->
                <div class="clearfix visible-sm-block"></div>

                <div class="col-md-4 col-sm-6 col-xs-12" style="padding-right: 0;">
                    <a data-title="法律咨询" href="{:url(\''.\\think\\Request::instance()->controller().'/index',['type'=>3,'toid'=>$Request.param.toid])}" >
                        <div class="info-box btn-danger ">
                            <span class="info-box-icon "><i class="Hui-iconfont"></i></span>
                            <div class="info-box-content">
                                <span class="info-box-text">法律咨询</span>
                                <span class="info-box-number">{$one['tree']}</span>
                            </div>
                            <!-- /.info-box-content -->
                        </div>
                        <!-- /.info-box -->
                    </a>
                </div>
                <div class="col-md-4 col-sm-6 col-xs-12" >
                    <a data-title="福利待遇咨询" href="{:url(\''.\\think\\Request::instance()->controller().'/index',['type'=>4,'toid'=>$Request.param.toid])}" >
                        <div class="info-box btn-danger ">
                            <span class="info-box-icon "><i class="Hui-iconfont"></i></span>
                            <div class="info-box-content">
                                <span class="info-box-text">福利待遇咨询</span>
                                <span class="info-box-number">{$one['fore']}</span>
                            </div>
                            <!-- /.info-box-content -->
                        </div>
                        <!-- /.info-box -->
                    </a>
                </div>
            </div>
        {else/}

        <div class="panel-header">{:lang('信箱中心')}</div>

        <div class="panel-body">
            <div class="row fore">
                <div class="col-md-4 col-sm-6 col-xs-12">
                    <a data-title="领导信箱" href="{:url(\''.\\think\\Request::instance()->controller().'/index',['type'=>1])}" >
                        <div class="info-box btn-primary">
                            <span class="info-box-icon"><i class="Hui-iconfont"></i></span>
                            <div class="info-box-content">
                                <span class="info-box-text">领导信箱</span>
                                <span class="info-box-number">{$one['one']}</span>
                            </div>
                            <!-- /.info-box-content -->
                        </div>
                    </a>
                    <!-- /.info-box -->
                </div>
                <!-- /.col -->
                <div class="col-md-4 col-sm-6 col-xs-12">
                    <a data-title="心理咨询" href="{:url(\''.\\think\\Request::instance()->controller().'/index',['type'=>2])}" >
                        <div class="info-box btn-success">
                            <span class="info-box-icon"><i class="Hui-iconfont"></i></span>
                            <div class="info-box-content">
                                <span class="info-box-text">心理咨询</span>
                                <span class="info-box-number">{$one['two']}</span>
                            </div>
                            <!-- /.info-box-content -->
                        </div>
                        <!-- /.info-box -->
                    </a>
                </div>
                <!-- /.col -->

                <!-- fix for small devices only -->
                <div class="clearfix visible-sm-block"></div>

                <div class="col-md-4 col-sm-6 col-xs-12" style="padding-right: 0;">
                    <a data-title="法律咨询" href="{:url(\''.\\think\\Request::instance()->controller().'/index',['type'=>3])}" >
                        <div class="info-box btn-danger ">
                            <span class="info-box-icon "><i class="Hui-iconfont"></i></span>
                            <div class="info-box-content">
                                <span class="info-box-text">法律咨询</span>
                                <span class="info-box-number">{$one['tree']}</span>
                            </div>
                            <!-- /.info-box-content -->
                        </div>
                        <!-- /.info-box -->
                    </a>
                </div>
                <div class="col-md-4 col-sm-6 col-xs-12" >
                    <a data-title="福利待遇咨询" href="{:url(\''.\\think\\Request::instance()->controller().'/index',['type'=>4])}" >
                        <div class="info-box btn-danger ">
                            <span class="info-box-icon "><i class="Hui-iconfont"></i></span>
                            <div class="info-box-content">
                                <span class="info-box-text">福利待遇咨询</span>
                                <span class="info-box-number">{$one['fore']}</span>
                            </div>
                            <!-- /.info-box-content -->
                        </div>
                        <!-- /.info-box -->
                    </a>
                </div>
                {/notempty}
            </div>
        </div>
    </div>

    <div class="clear"></div>

</div>

{/block}
